package com.ericsson.middleware.entities;

import java.io.Serializable;
import java.lang.Integer;
import java.lang.String;
import javax.persistence.*;

/**
 * Entity implementation class for Entity: LampState
 *
 */
@Entity
@Table(name="lamp_state"
)
public class LampState implements Serializable {

	
	 
	@Id
	private String id;
	private Integer serialID;  
	private Integer currentIntensity;
	private Integer PWM;
	private String timestamp;
	private String lat;
	private String Long;
	private static final long serialVersionUID = 1L;

	public LampState() {
		super();
	}   
	public LampState(String id, Integer serialID, int currentIntensity, int PWM, String timestamp, String lat, String l) {
		this.id = id;
		this.serialID = serialID;
		this.currentIntensity = currentIntensity;
		this.PWM = PWM;
		this.timestamp = timestamp;
		this.lat = lat;
		this.Long = l;
	}
	public Integer getSerialID() {
		return this.serialID;
	}

	public void setSerialID(Integer serialID) {
		this.serialID = serialID;
	}   
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}   
	public Integer getCurrentIntensity() {
		return this.currentIntensity;
	}

	public void setCurrentIntensity(Integer currentIntensity) {
		this.currentIntensity = currentIntensity;
	}
	
	public Integer getPWM() {
		return this.PWM;
	}
	public void setPWM(Integer PWM) {
		this.PWM = PWM;
	}
	public String getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
	public String getLong() {
		return Long;
	}
	public void setLong(String l) {
		Long = l;
	}
}
